#a{grid-area:a}
#b{grid-area:b}
#c{grid-area:c}
#d{grid-area:d}
#e{grid-area:e}
/* #f{grid-area:f} */

#grid{
    display: grid;
    grid-template-areas: 
    "a a a"
    "b c d"
    "e e e" 
}
@media(max-width:512px){
    #grid{
        grid-template-areas: 
        "a a"
        "b c"
        "d e"
    }
}

#gridone{
    display: inline-grid;
}

